package com.sharemarking.wa.platform.dto.orderCommon;

import java.util.Arrays;
import java.util.List;

/**
 * @author dxy
 */
public class OrderWasteListDto {
    private Integer wasteId;
    private String wasteName;
    private Double receiveWeight;
    private Double realWeight;
    private Double weight;
    private String pic;
    private String weightPicList;

    public Integer getWasteId() {
        return wasteId;
    }

    public void setWasteId(Integer wasteId) {
        this.wasteId = wasteId;
    }

    public String getWasteName() {
        return wasteName;
    }

    public void setWasteName(String wasteName) {
        this.wasteName = wasteName;
    }

    public Double getReceiveWeight() {
        return receiveWeight;
    }

    public void setReceiveWeight(Double receiveWeight) {
        this.receiveWeight = receiveWeight;
    }

    public Double getRealWeight() {
        return realWeight;
    }

    public void setRealWeight(Double realWeight) {
        this.realWeight = realWeight;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public List<String> getWeightPicList() {
        if (weightPicList!=null){
            return Arrays.asList(weightPicList.split(";"));
        }
        return null ;
    }

    public void setWeightPicList(String weightPicList) {
        this.weightPicList = weightPicList;
    }
}
